package com.example.order.mapper;

import org.apache.ibatis.annotations.Param;
import pojo.OrderComplain;

public interface OrderComplainMapper {
    int deleteByPrimaryKey(Integer complainId);

    int insert(OrderComplain record);

    int insertSelective(OrderComplain record);

    OrderComplain selectByPrimaryKey(Integer complainId);

    int updateByPrimaryKeySelective(OrderComplain record);

    int updateByPrimaryKey(OrderComplain record);

    Integer getComplainByOrderNumber(@Param("orderNumber") String orderNumber);
}